PRevert(short cKind = 0);
0 to revert to the last-saved version (the default)Saved value same as reverting. Using the Saved value is the same as closing the publication without saving changes from the current session and then reopening the publication; it reverts to the last-saved version.
1 to revert to the last minisaved version
Minisaved value same as cancelling. Using the minisaved value is the same as canceling the changes made since performing any of the actions that cause an automatic minisave: inserting or deleting a page, changing to a different page, printing, copying, switching between layout view and story editor, using the Clipboard, or changing the page setup of a publication.
No confirmation required by PageMaker. Unlike the menu command, the command version does not display a message asking the user to confirm this action before proceeding.
Example. The following example cancels all changes made since the publication was last minisaved.
PRevert(1);
Adobe PageMaker 6.5 Help > Commands > File > Revert
Comments or suggestions? Contact Adobe Developer Support